<?php
class DoSigninAction extends FrontendAction
{
	public function execute()
	{
		$this->view->result = UserService::authenticateUser($_POST);
		$this->view->result["return_url"] = $this->context->request('return_url') ? $this->context->request('return_url') : $this->context->uri["base"];
		$this->view->render();
	}
}
